//我的证件接口
var token = localStorage.getItem('tok');
$.ajax({
    type: "GET",
    url: $host+'/api/app/cert/certInfo',
    async: true,
    dataType:'json',
    data:{
        'token':token
    },
    success: function(result){
        console.log(result)
        if(result.status===900000){
            var certImgHand=result.data.certImgHand
            var certImgNegative=result.data.certImgNegative
            var certImgPositive=result.data.certImgPositive
            $('.certImgHand').attr("src",certImgHand );
            $('.certImgNegative').attr("src",certImgNegative );
            $('.certImgPositive').attr("src",certImgPositive );
        }else{
            window.location.href='shangchuanzj.html?token='+token
        }
    },
    error:function(){
        console.log('接口错误')
    }
});
//点击返回
$('.wdzjfh').click(function(){
    window.location.href="gerenzx.html?token="+token;
})